package tool

import (
	"gf-start-kit/library/constant"
	_ "gf-start-kit/plugins/tool/controller"
	"github.com/gogf/gf/frame/g"
)

/**
借鉴oktools的代码演示怎么自定义插件静态服务以及插件设置查找单独模板
*/
func init() {
	s := g.Server()
	path := constant.AppPath + "/plugins/tool/"
	s.AddStaticPath("/tool/static", path+"/static")
	_ = g.View().SetPath(path + "/tpl")
}
